package com.game.framework.dao.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

@Data
@Document("ActivityEntity")
@TableName( value ="tf_activity" )
public class ActivityEntity extends BaseEntity<Long> {
    // 活动名称
    @TableField(value = "name")
    private String name;
    // 限制人数
    @TableField(value = "limit_player")
    private int limitPlayer;
    // 消耗令牌类型
    //@TableField(value = "limit_ticket_type")
    //private int limitTicketType;
    // 消耗令牌数量
    //@TableField(value = "limit_ticket_num")
    //private long limitTicketNum;
    // 限制鱼竿类型
    //@TableField(value = "limit_pole_type")
    //private int limitPoleType;
    // 限制鱼竿数量
    //@TableField(value = "limit_pole_num")
    //private long limitPoleNum;
    // 限制福龙类型
    //@TableField(value = "limit_dragon_type")
    //private int limitDragonType;
    // 限制福龙数量
    //@TableField(value = "limit_dragon_num")
    //private long limitDragonNum;
    // 限制藏品 (ID,NUM) JSON字符串
    //@TableField(value = "limit_objects")
    //private String limitObjects;
    // 开始时间
    @TableField(value = "start_time")
    private Date startTime;
    // 结束时间
    @TableField(value = "end_time")
    private Date endTime;
    // 活动状态 -1:已结束 0-未开始 1-已开始 2-已满员 3-不满足条件
    @TableField(value = "status")
    private int status;
    //是否开启排行榜 0-不开启 1开启
    @TableField(value = "rank")
    private int rank;
    // 当前人数
    @TableField(value = "cur_player_num")
    private int curPlayerNum;
    // 最高人数
    @TableField(value = "max_player_num")
    private int maxPlayerNum;
}

